package com.dudy.authdemo.vo;

import com.dudy.common.base.PageData;

import java.util.Date;

public class RoleVO extends PageData<RoleVO> {
    private Long id;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 角色编号
     */
    private String roleCode;

    private String creator;

    private Date gmtCreateTime;

    private String updater;

    private Date gmtUpdateTime;

    private Byte deleteFlag;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取角色名称
     *
     * @return role_name - 角色名称
     */
    public String getRoleName() {
        return roleName;
    }

    /**
     * 设置角色名称
     *
     * @param roleName 角色名称
     */
    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    /**
     * 获取角色编号
     *
     * @return role_code - 角色编号
     */
    public String getRoleCode() {
        return roleCode;
    }

    /**
     * 设置角色编号
     *
     * @param roleCode 角色编号
     */
    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode == null ? null : roleCode.trim();
    }

    /**
     * @return creator
     */
    public String getCreator() {
        return creator;
    }

    /**
     * @param creator
     */
    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    /**
     * @return gmt_create_time
     */
    public Date getGmtCreateTime() {
        return gmtCreateTime;
    }

    /**
     * @param gmtCreateTime
     */
    public void setGmtCreateTime(Date gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
    }

    /**
     * @return updater
     */
    public String getUpdater() {
        return updater;
    }

    /**
     * @param updater
     */
    public void setUpdater(String updater) {
        this.updater = updater == null ? null : updater.trim();
    }

    /**
     * @return gmt_update_time
     */
    public Date getGmtUpdateTime() {
        return gmtUpdateTime;
    }

    /**
     * @param gmtUpdateTime
     */
    public void setGmtUpdateTime(Date gmtUpdateTime) {
        this.gmtUpdateTime = gmtUpdateTime;
    }

    public Byte getDeleteFlag() {
        return deleteFlag;
    }

    public RoleVO setDeleteFlag(Byte deleteFlag) {
        this.deleteFlag = deleteFlag;
        return this;
    }
}